package com.kangfu.db.mapper;

import com.kangfu.db.domain.entity.CheckinRecord;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 打卡记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-08-14
 */
public interface CheckinRecordMapper 
{
    /**
     * 新增打卡记录
     * 
     * @param checkinRecord 打卡记录
     * @return 结果
     */
    public int insertCheckinRecord(CheckinRecord checkinRecord);


    public Integer getCheckinRecordCountByUserId(@Param("userId") Integer userId, @Param("checkinDate")LocalDateTime checkinDate);

}
